import request from '@/utils/request'
import qs from "qs";

// 查询标签列表
export function queryTableTagsList(query) {
  return request({
    url: '/datascan/b/tabletags/queryList',
    method: 'get',
    params: query
  })
}

export function addOrUpdate(data) {
  return request({
    url: '/datascan/b/tabletags/addOrUpdate',
    method: 'post',
    headers: {
      "Content-Type": 'application/x-www-form-urlencoded;charset=UTF-8'
    },
    data: qs.stringify(data)
  })
}
